Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: itest: avoid failing the test when we race the miner #10461

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

Stebalien
Copy link
Member

I've been seeing quite a few tests failing here, so I'm hoping this will deflake them a bit.

I've been seeing quite a few tests failing here, so I'm hoping this will
deflake them a bit.
@Stebalien Stebalien requested a review from a team as a code owner March 13, 2023 18:16
@Stebalien
Copy link
Member Author

Hypothesis: When we ended the test, the miner was still running and attempted to create one more block. This failed because the test was done and the lotus node shut down.

Ideally all those "rpc error" checks should catch this, but apparently those aren't sufficient. Checking the context is a better catch-all solution.

@arajasek arajasek merged commit 97a9921 into master Mar 13, 2023
@arajasek arajasek deleted the steb/deflake-fail-after-finish branch March 13, 2023 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants